var stu = {
  name: 'why',
  age: 18,
  eating: function () {
    console.log(this.name + ' eating');
  },
  running: function () {
    console.log(this.name + ' running');
  },
};

stu.eating();
stu.running();
